<%--
  Created by IntelliJ IDEA.
  User: root
  Date: 2021/4/7
  Time: 14:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form method="post" action="${pageContext.request.contextPath}/upload" enctype="multipart/form-data">

    <input type="file" name="pic">


    <input type="submit" value="上传头像" >

</form>



</body>
</html>
